package org.dormnet.dao.bean;

import java.sql.Date;

public class Picturecomment {
	private int pid;
	private String content;
	private Date pictime;
	private Integer commentor;
	private int isdeleted;
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getPictime() {
		return pictime;
	}
	public void setPictime(Date pictime) {
		this.pictime = pictime;
	}
	public Integer getCommentor() {
		return commentor;
	}
	public void setCommentor(Integer commentor) {
		this.commentor = commentor;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	@Override
	public String toString() {
		return "Picturecomment [pid=" + pid + ", content=" + content
				+ ", pictime=" + pictime + ", commentor=" + commentor
				+ ", isdeleted=" + isdeleted + "]";
	}
	public Picturecomment(int pid, String content, Date pictime,
			Integer commentor, int isdeleted) {
		super();
		this.pid = pid;
		this.content = content;
		this.pictime = pictime;
		this.commentor = commentor;
		this.isdeleted = isdeleted;
	}
	public Picturecomment() {
		super();
	}
	
}
